<div class="row product-detail">
    <div class="col-xs-12">
        <div class="row">
            <h1 class="col-xs-12 product-title"><?php echo $product->name ?></h1>
        </div>
        <div class="row">
            <div class="col-xs-12 product-images text-center">
                <img class="img-rounded" src=<?php echo UrlHelper::productImage($product->image); ?>  />
            </div>
        </div>
        <div class="row">
            <div class="col-xs-12 product-info">
                <div class="row">
                    <div class="col-xs-3"><?php echo $product->getAttributeLabel("code") ?>:</div>
                    <div class="col-xs-9"><?php echo $product->code ?></div>
                </div>
                <div class="row">
                    <div class="col-xs-3"><?php echo $product->getAttributeLabel("packing") ?>:</div>
                    <div class="col-xs-9"><?php echo $product->packing ?></div>
                </div>
                <div class="row">
                    <div class="col-xs-3"><?php echo $product->getAttributeLabel("last_update") ?>:</div>
                    <div class="col-xs-9"><?php echo $product->last_update ?></div>
                </div>
                <div class="row">
                    <div class="col-xs-3"><?php echo $product->getAttributeLabel("on_sale") ?>:</div>
                    <div class="col-xs-9">
                        <div class="product-price">
                            <span class="price"><?php echo Yii::app()->format->number($product->on_sale); ?></span>
                            <span class="currency"> VND</span>
                        </div>
                    </div>
                </div>
                <!--div class="row">
                    <div class="col-xs-3"><?php echo $product->getAttributeLabel("number_of") ?>:</div>
                    <div class="col-xs-9"><input type="text"/></div>
                </div-->
                <div class="row">
                    <div class="col-xs-3"><?php echo $product->getAttributeLabel("description") ?>:</div>
                    <div class="col-xs-9">
                        <?php echo $product->description ?>
                    </div>
                </div>
                <div class="row">
                    <div class="col-xs-3"></div>
                    <div class="col-xs-9">
						<a class="btn btn-success btn-long jsc-add-to-cart" href="<?php echo $this->createUrl('/cart/addToCart',array('product_id'=>$product->id)); ?>">+ <?php echo Yii::t("view_partials_productBox", "ADD TO CART"); ?></a>
						<a class="btn btn-warning btn-long" href="<?php echo $this->createUrl('/cart/buyNow',array('product_id'=>$product->id)); ?>"><?php echo Yii::t("view_partials_productBox", "BUY"); ?></a>
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>
